﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ACGN.Core.Models
{
    public  class LeaveMessage
    {
        [Key]
        public int LMId { get; set; }
        [Display(Name = "姓名")]
        [Required(ErrorMessage = "姓名不能为空")]
        public string LMName { get; set; }
        [Display(Name = "留言内容")]
        [Required(ErrorMessage = "留言内容不能为空")]
        public string LMContent { get; set; }
    }
}
